package com.lucien.TestDemo;

public class TestsingleLinkedListDemo {
    public static void main(String[] args) {

    }
}

class HeroNode{
    public   int no;
    public  String name;
    public  String nickname;
    public  HeroNode next ;

    public HeroNode(int no,String name,String nickname){
        this.no=no;this.name=name;this.nickname=nickname;
    }

    @Override
    public String toString() {
        return "HeroNode{" +
                "no=" + no +
                ", name='" + name + '\'' +
                ", nickname='" + nickname + '\'' ;
    }
}
